import {Component} from 'react';

export default class Button extends Component{


   handleClick=(e)=>{
       console.log("click",e); 
   }

   handleMouseOver=()=>{
       console.log("handleMouseOver===>>")
   }

    render(){
        return(
            <div>
                <button  onMouseOver={this.handleMouseOver}  onClick={this.handleClick} >点击我进行打印</button>
            </div>
        )
    }
} 

